/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Model;

import java.util.ArrayList;

/**
 *
 * @author Compaq
 */
public class StringList<E> extends ArrayList<E>{

    public StringList(){
        super();
    }

    public boolean add(E word1){
        boolean isAdded=false;
        String word=(String)word1;
        if(!super.contains(word)){
            super.add(word1);
            isAdded=true;
        }
        return isAdded;
    }
}
